<?php
	include 'ftp.class.php';
	header("Content-type:text/html;Charset=utf-8");
	set_time_limit(0);
	
	$server  = 'ftp.freezoy.com';
	$port    = 21;
	$ftpUser = 'frzoy_10748061';
	$ftpPass = 'jianshen580';
	
	$file = "action.php";
	$uploadDir = "htdocs/gatherPic/";
	
	
	$ftp = new Ftp($server, $port, $ftpUser, $ftpPass);
	//$res = $ftp->up_file($file, $uploadDir.'/'.$file);
	$res = $ftp->del_file($uploadDir.$file);
	if(!$res){
		echo $ftp -> error;
	}

?>